package com.yuncheng.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.yuncheng.common.base.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

@ApiModel(value = "sys_org对象", description = "云程系统部门")
@TableName("sys_org")
public class YcSysOrg extends BaseEntity implements Serializable {

    @ApiModelProperty(value = "父组织ID")
    private String parentId;

    @ApiModelProperty(value = "父组织路径")
    private String path;

    @ApiModelProperty(value = "子节点数量")
    private Integer subOrgNum;

    @ApiModelProperty(value = "组织名称")
    private String orgName;

    @ApiModelProperty(value = "组织编码")
    private String orgCode;

    @ApiModelProperty(value = "组织缩写")
    private String orgNameAbbr;

    @ApiModelProperty(value = "组织排序")
    private Integer orgOrder;

    @ApiModelProperty(value = "组织类型")
    private String orgType;

    public String getParentId() {
        return parentId;
    }

    public void setParentId(String parentId) {
        this.parentId = parentId;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public Integer getSubOrgNum() {
        return subOrgNum;
    }

    public void setSubOrgNum(Integer subOrgNum) {
        this.subOrgNum = subOrgNum;
    }

    public String getOrgName() {
        return orgName;
    }

    public void setOrgName(String orgName) {
        this.orgName = orgName;
    }

    public String getOrgCode() {
        return orgCode;
    }

    public void setOrgCode(String orgCode) {
        this.orgCode = orgCode;
    }

    public String getOrgNameAbbr() {
        return orgNameAbbr;
    }

    public void setOrgNameAbbr(String orgNameAbbr) {
        this.orgNameAbbr = orgNameAbbr;
    }

    public Integer getOrgOrder() {
        return orgOrder;
    }

    public void setOrgOrder(Integer orgOrder) {
        this.orgOrder = orgOrder;
    }

    public String getOrgType() {
        return orgType;
    }

    public void setOrgType(String orgType) {
        this.orgType = orgType;
    }
}
